<?php

// Composer: "fzaninotto/faker": "v1.3.0"
use Faker\Factory as Faker;

class ProjectTableSeeder extends Seeder {

	public function run()
	{
		$faker = Faker::create();

		foreach(range(1, 10) as $index)
		{
			Project::create([
				'user_id' => 1,
				'name' => $faker->name,
				'home_url' => $faker->url,
				'doc_url' => $faker->url,
				'download_url' => $faker->url,
				'detail' => $faker->text,
				'status' => 1
			]);
		}
	}

}